home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / gopher / Unix / gopher1.12 / gopherd / wais.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-21  |  1.9 KB  |  94 lines

  1. /********************************************************************
  2.  * $Author: lindner $
  3.  * $Revision: 1.1 $
  4.  * $Date: 1992/12/10 23:13:27 $
  5.  * $Source: /home/mudhoney/GopherSrc/release1.11/gopherd/RCS/wais.h,v $
  6.  * $Status: $
  7.  *
  8.  * Paul Lindner, University of Minnesota CIS.
  9.  *
  10.  * Copyright 1991, 1992 by the Regents of the University of Minnesota
  11.  * see the file "Copyright" in the distribution for conditions of use.
  12.  *********************************************************************
  13.  * MODULE: wais.h
  14.  * Header file for Wais stuff.
  15.  *********************************************************************
  16.  * Revision History:
  17.  * $Log: wais.h,v $
  18.  * Revision 1.1  1992/12/10  23:13:27  lindner
  19.  * gopher 1.1 release
  20.  *
  21.  *
  22.  *********************************************************************/
  23.  
  24.  
  25.  
  26.  
  27. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  28.    No guarantees or restrictions.  See the readme file for the full standard
  29.    disclaimer.
  30.  
  31.    This is part of the shell user-interface for the WAIS software.  Do with it
  32.    as you please.
  33.  
  34.    jonathan@Think.COM
  35.  
  36.  * $Log: wais.h,v $
  37.  * Revision 1.1  1992/12/10  23:13:27  lindner
  38.  * gopher 1.1 release
  39.  *
  40.  * Revision 1.6  92/02/15  19:50:24  jonathan
  41.  * Removed old cruft.  Added $Log for RCS
  42.  * 
  43. */
  44.  
  45. #ifndef _H_WAIS
  46. #define _H_WAIS
  47.  
  48. /* usefull definitions */
  49.  
  50. #define STRINGSIZE    256
  51.  
  52. #include <ctype.h>
  53. #include <sys/types.h>
  54. #include <sys/stat.h>
  55.  
  56. /* from the IR directory */
  57.  
  58. #include <cutil.h>
  59. /*#include <irdirent.h>*/
  60. #include <ui.h>
  61. #include <irfileio.h>
  62. #include <sockets.h>
  63. FILE *connect_to_server _AP((char* host_name,long port));
  64.  
  65. /* for this application */
  66.  
  67. #include "../ui/list.h"
  68. #include "source.h"
  69. #include "document.h"
  70. #include "../ui/util.h"
  71. #include "question.h"
  72. #define CHARS_PER_PAGE 2000
  73.  
  74. #ifdef MAIN
  75. #define ext
  76. #else
  77. #define ext extern
  78. #endif
  79.  
  80. ext char* command_name;
  81.  
  82. ext int numtosave;
  83.  
  84. ext int NumQuestions;
  85.  
  86. ext Question the_Question;
  87.  
  88. ext SList Sources;
  89. ext int NumSources;
  90.  
  91. ext int maxDocs;
  92.  
  93. #endif
  94.